<!--
 * @Author: YSM
 * @Description: 
 * @Date: 2022-08-29 17:40:13
 * @LastEditTime: 2022-08-29 17:40:28
 * @FilePath: \my_vue_demof:\杂物箱\技术\my_web_knowledge\html\实现一个骰子3.html
-->
<html>
<head>
    <title>骰子3</title>
    <style type="text/css">
        .box {
            width: 200px;
            height: 200px;
            border: 2px solid #ccc;
            border-radius: 10px;
            padding: 20px;

            display: flex;
            justify-content: space-between;
        }
        .item {
            display: block;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #666;
        }
        .item:nth-child(2) {
            align-self: center;
        }
        .item:nth-child(3) {
            align-self: flex-end;
        }

    </style>
</head>
<body>
    <div class="box">
        <span class="item"></span>
        <span class="item"></span>
        <span class="item"></span>
    </div>
</body>
</html>